package com.bugsnag.ohos;

/**
 * CallbackAware
 *
 * @since 2021-07-01
 */
public interface CallbackAware {
    /**
     * addOnError
     *
     * @param onError
     */
    void addOnError(OnErrorCallback onError);

    /**
     * removeOnError
     *
     * @param onError
     */
    void removeOnError(OnErrorCallback onError);

    /**
     * addOnBreadcrumb
     *
     * @param onBreadcrumb
     */
    void addOnBreadcrumb(OnBreadcrumbCallback onBreadcrumb);

    /**
     * removeOnBreadcrumb
     *
     * @param onBreadcrumb
     */
    void removeOnBreadcrumb(OnBreadcrumbCallback onBreadcrumb);

    /**
     * addOnSession
     *
     * @param onSession
     */
    void addOnSession(OnSessionCallback onSession);

    /**
     * removeOnSession
     *
     * @param onSession
     */
    void removeOnSession(OnSessionCallback onSession);
}
